package com.dadibadi.core.common.exception;

import com.venusoft.developer.common.exception.BizException;

public class MyBizException extends BizException {
    public MyBizException(int code, String message) {
        super(code, message);
    }

    public static final BizException ACCOUNT_NOT_EXIST_ERROR = new BizException(7000, "账号不存在");
    public static final BizException PASSWORD_ERROR = new BizException(7001, "密码错误");

    public static final BizException EMAIL_EXIST_ERROR = new BizException(7002, "email已注册");

    public static final BizException USERID_NOT_FOUND = new BizException(7003, "找不到用户ID");

    public static final BizException NOT_THE_AUTHOR = new BizException(7004, "不是该作品的作者");

    public static final BizException NOT_APPLY = new BizException(7005, "该用户没有申请成为会员");
}
